package utility;
import java.util.ArrayList;

import org.paukov.combinatorics.Factory;
import org.paukov.combinatorics.Generator;
import org.paukov.combinatorics.ICombinatoricsVector;

import core.Cono;
import core.ConoList;


public class GeneratePermutation {

	/**
	 * @param args
	 */
	public GeneratePermutation(){
		
	}
	
	public Generator<Cono> generaCombinazioni(ConoList elementi){

		ICombinatoricsVector<Cono> initialSet = Factory.createVector(elementi.getList());

		   // Create an instance of the subset generator
		   Generator<Cono> gen = Factory.createSubSetGenerator(initialSet);
		   return gen;
	}

}
